From: LLVM Packaging Team Date: Tue, 24 Sep 2019 19:09:57 +0000 (+0100) Subject: include_llvm_ADT_Triple.h X-Git-Tag: archive/raspbian/1%10.0.0-1+rpi1^2~26 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=49f589a068036ea2c76ae65cbd4e8612aa92a723;p=llvm-toolchain-10.git include_llvm_ADT_Triple.h =================================================================== Gbp-Pq: Topic kfreebsd Gbp-Pq: Name include_llvm_ADT_Triple.h.diff --- diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h index edeb31efa..a9dfe8c63 100644 --- a/include/llvm/ADT/Triple.h +++ b/include/llvm/ADT/Triple.h @@ -161,7 +161,7 @@ public: FreeBSD, Fuchsia, IOS, - KFreeBSD, + kFreeBSD, Linux, Lv2, // PS3 MacOSX, @@ -588,8 +588,8 @@ public: } /// Tests whether the OS is kFreeBSD. - bool isOSKFreeBSD() const { - return getOS() == Triple::KFreeBSD; + bool isOSkFreeBSD() const { + return getOS() == Triple::kFreeBSD; } /// Tests whether the OS is Hurd. @@ -609,7 +609,7 @@ public: /// Tests whether the OS uses glibc. bool isOSGlibc() const { - return (getOS() == Triple::Linux || getOS() == Triple::KFreeBSD || + return (getOS() == Triple::Linux || getOS() == Triple::kFreeBSD || getOS() == Triple::Hurd) && !isAndroid(); }